-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: multiple chat reports picked for onboarding #45785
fix: multiple chat reports picked for onboarding #45785
Conversation
@rojiphil @chiragsalian can you review this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like that's it here. Once @pac-guerreiro makes the changes I will complete the checklist. Also, the jest runner workflow is likely to fall in line once we make these changes.
@rojiphil @chiragsalian sorry for the delay! I just applied your suggestions, thanks! 😄 |
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / Safari45785-web-safari.mp4MacOS: Desktop45785-desktop.mp4iOS: mWeb Safari45785-mweb-safari.mp4Android: Native45785-android-native.mp4Android: mWeb Chrome45785-mweb-chrome.mp4iOS: Native45785-ios-native.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @pac-guerreiro for the changes. Just one comment though that we need to add a test case for QA.
Otherwise, works well and completed the checklist.
@chiragsalian All yours for final review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Once you add test steps for QA ill merge. Let me know if you need any help with it.
@chiragsalian sorry for the delay, I just added the test steps you required! |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/chiragsalian in version: 9.0.16-0 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.16-8 🚀
|
cc @rojiphil @chiragsalian @trjExpensify
Details
Fixed Issues
$#45238
PROPOSAL:
The changes introduced in this PR caused a new issue where both concierge and Expensify chat rooms could be picked for onboarding purposes.
This fix aims at fixing this issue and ensuring that for new user accounts, we use the
onboarding.chatReportID
, and for older accounts, we test if the user'saccountID
is odd to decide which chat room is used for onboarding.Tests
Replace
<TODAY>
with today date and<6 DAYS FROM NOW>
with the date from 6 days from now, inyyyy-MM-dd HH:mm:ss
format.Replace
<ID OF THE REPORT YOU WANT TO PICK>
with the ID you extract from the report page URL.Free trial
badge is shown in the right LHN item and there’s only one item showing the badgeOffline tests
Same as tests.
QA Steps
Same as tests.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop